inherited frmAnalyseDepot: TfrmAnalyseDepot
  Left = 368
  Top = 154
  Caption = #24211#23384#20998#26512
  Position = poDesktopCenter
  PixelsPerInch = 96
  TextHeight = 12
  inherited Splitter1: TSplitter
    Top = 283
    Visible = True
    ExplicitTop = 428
    ExplicitWidth = 752
  end
  inherited stbChildSatusBar: TStatusBar
    Top = 264
    ExplicitTop = 264
  end
  inherited Panel3: TPanel
    Height = 225
    ExplicitHeight = 225
    inherited MainDBGrid: TcxGrid
      Height = 17
      ExplicitHeight = 17
      inherited MainView: TcxGridDBBandedTableView
        DataController.DataModeController.GridMode = True
        DataController.DataSource = MainDataSource
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Inserting = False
        OptionsView.ColumnAutoWidth = True
        OptionsView.GroupByBox = False
        OptionsView.BandHeaders = False
        object MainViewp_code: TcxGridDBBandedColumn
          DataBinding.FieldName = 'p_code'
          Width = 133
          Position.BandIndex = 0
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object MainViewp_name: TcxGridDBBandedColumn
          DataBinding.FieldName = 'p_name'
          Width = 133
          Position.BandIndex = 0
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object MainViewunitname: TcxGridDBBandedColumn
          DataBinding.FieldName = 'unitname'
          Width = 95
          Position.BandIndex = 0
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object MainViewquantity: TcxGridDBBandedColumn
          DataBinding.FieldName = 'quantity'
          Width = 76
          Position.BandIndex = 1
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object MainViewfactqty: TcxGridDBBandedColumn
          DataBinding.FieldName = 'factqty'
          Width = 76
          Position.BandIndex = 1
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object MainViewlowqty: TcxGridDBBandedColumn
          DataBinding.FieldName = 'lowqty'
          Width = 76
          Position.BandIndex = 1
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object MainViewbookassemblyqty: TcxGridDBBandedColumn
          DataBinding.FieldName = 'bookassemblyqty'
          Width = 77
          Position.BandIndex = 1
          Position.ColIndex = 3
          Position.RowIndex = 0
        end
        object MainViewfactassemblyqty: TcxGridDBBandedColumn
          DataBinding.FieldName = 'factassemblyqty'
          Width = 82
          Position.BandIndex = 1
          Position.ColIndex = 4
          Position.RowIndex = 0
        end
        object MainVieworderqty: TcxGridDBBandedColumn
          DataBinding.FieldName = 'orderqty'
          Visible = False
          Position.BandIndex = 1
          Position.ColIndex = 5
          Position.RowIndex = 0
        end
      end
    end
    object GridAssembly: TcxGrid
      Left = 0
      Top = 25
      Width = 548
      Height = 200
      Align = alBottom
      TabOrder = 1
      object GridAssemblyTableView: TcxGridDBBandedTableView
        Navigator.Buttons.CustomButtons = <>
        DataController.DataModeController.GridMode = True
        DataController.DataSource = dsDetail
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsView.GroupByBox = False
        OptionsView.BandHeaders = False
        Bands = <
          item
            FixedKind = fkLeft
          end
          item
          end>
      end
      object GridAssemblyLevel: TcxGridLevel
        GridView = GridAssemblyTableView
      end
    end
    object cxSplitter1: TcxSplitter
      Left = 0
      Top = 17
      Width = 548
      Height = 8
      HotZoneClassName = 'TcxXPTaskBarStyle'
      AlignSplitter = salBottom
      Control = GridAssembly
    end
  end
  inherited Panel2: TPanel
    Top = 287
    Height = 42
    Locked = True
    Visible = True
    ExplicitTop = 287
    ExplicitHeight = 42
    object btnOK: TcxButton
      Left = 576
      Top = 9
      Width = 75
      Height = 25
      Caption = #30830#23450
      ModalResult = 1
      TabOrder = 0
    end
    object btnExcel: TcxButton
      Left = 491
      Top = 9
      Width = 75
      Height = 25
      Action = actExport
      TabOrder = 1
    end
    object btnCancel: TcxButton
      Left = 663
      Top = 9
      Width = 75
      Height = 25
      Cancel = True
      Caption = #21462#28040
      TabOrder = 2
      OnClick = btnCancelClick
    end
  end
  inherited Panel1: TPanel
    Visible = True
    inherited img3: TImage
      Left = 711
      Visible = False
      ExplicitLeft = 711
    end
    inherited labFuncName: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited labFuncDesc: TcxLabel
      Style.IsFontAssigned = True
      Visible = True
    end
    object rbFactDepot: TcxRadioButton
      Left = 346
      Top = 12
      Width = 89
      Height = 17
      Caption = #23454#38469#24211#23384
      Checked = True
      TabOrder = 2
      TabStop = True
      OnClick = rbFactDepotClick
      Transparent = True
    end
    object rbBookDepot: TcxRadioButton
      Left = 446
      Top = 12
      Width = 77
      Height = 17
      Caption = #24080#38754#24211#23384
      TabOrder = 3
      OnClick = rbFactDepotClick
      Transparent = True
    end
    object btnSelSaleOrder: TcxButton
      Tag = 210
      Left = 656
      Top = 8
      Width = 75
      Height = 25
      Caption = #36873#25321#38144#21806#35746#21333
      TabOrder = 4
      OnClick = btnSelSaleClick
    end
    object btnSelSale: TcxButton
      Tag = 240
      Left = 568
      Top = 8
      Width = 75
      Height = 25
      Caption = #36873#25321#38144#21806#24320#21333
      TabOrder = 5
      OnClick = btnSelSaleClick
    end
  end
  inherited MainDataSource: TDataSource
    DataSet = cdsMaster
    Left = 197
    Top = 87
  end
  inherited MainDataSet: TUniQuery
    Left = 194
    Top = 162
    object MainDataSetproductid: TIntegerField
      FieldName = 'productid'
    end
    object MainDataSetp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object MainDataSetp_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object MainDataSetunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 60
    end
    object MainDataSetquantity: TFloatField
      DisplayLabel = #24080#38754#24211#23384
      FieldName = 'quantity'
    end
    object MainDataSetfactqty: TFloatField
      DisplayLabel = #23454#38469#24211#23384
      FieldName = 'factqty'
    end
    object MainDataSetlowqty: TFloatField
      DisplayLabel = #24211#23384#19979#38480
      FieldName = 'lowqty'
    end
    object MainDataSetbookassemblyqty: TFloatField
      DisplayLabel = #24080#38754#21487#32452#35013#25968
      FieldName = 'bookassemblyqty'
    end
    object MainDataSetfactassemblyqty: TFloatField
      DisplayLabel = #23454#38469#21487#32452#35013#25968
      FieldName = 'factassemblyqty'
    end
    object MainDataSetorderqty: TFloatField
      DisplayLabel = #37319#36141#25968
      FieldName = 'orderqty'
    end
    object MainDataSetminpurqty: TFloatField
      DisplayLabel = #26368#23567#37319#36141#25968
      FieldName = 'minpurqty'
    end
    object MainDataSetneedqty: TFloatField
      FieldKind = fkCalculated
      FieldName = 'needqty'
      Calculated = True
    end
    object MainDataSetrate: TFloatField
      FieldName = 'rate'
    end
    object MainDataSetassemblyrate: TFloatField
      FieldName = 'assemblyrate'
    end
  end
  object dlgSaveExportExcel: TSaveDialog
    Filter = 'Excel|.xls'
    Left = 37
    Top = 385
  end
  object dsDetail: TDataSource
    DataSet = cdsDetail
    Left = 336
    Top = 315
  end
  object cdsDetail: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 284
    Top = 319
  end
  object dspDetail: TDataSetProvider
    DataSet = qryDetail
    Left = 220
    Top = 319
  end
  object qryDetail: TUniQuery
    Connection = MainDM.UniConn
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 172
    Top = 315
  end
  object cdsMaster: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMaster'
    Left = 280
    Top = 87
    object cdsMasterproductid: TIntegerField
      FieldName = 'productid'
    end
    object cdsMasterp_code: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'p_code'
      Size = 40
    end
    object cdsMasterp_name: TStringField
      DisplayLabel = #36135#21697#21517#31216
      FieldName = 'p_name'
      Size = 60
    end
    object cdsMasterunitname: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'unitname'
      Size = 60
    end
    object cdsMasterquantity: TFloatField
      DisplayLabel = #24080#38754#24211#23384
      FieldName = 'quantity'
    end
    object cdsMasterfactqty: TFloatField
      DisplayLabel = #23454#38469#24211#23384
      FieldName = 'factqty'
    end
    object cdsMasterlowqty: TFloatField
      DisplayLabel = #24211#23384#19979#38480
      FieldName = 'lowqty'
    end
    object cdsMasterbookassemblyqty: TFloatField
      DisplayLabel = #24080#38754#21487#32452#35013#25968
      FieldName = 'bookassemblyqty'
    end
    object cdsMasterfactassemblyqty: TFloatField
      DisplayLabel = #23454#38469#21487#32452#35013#25968
      FieldName = 'factassemblyqty'
    end
    object cdsMasterorderqty: TFloatField
      DisplayLabel = #37319#36141#25968
      FieldName = 'orderqty'
    end
    object cdsMasterminpurqty: TFloatField
      DisplayLabel = #26368#23567#37319#36141#25968
      FieldName = 'minpurqty'
    end
    object cdsMasterneedqty: TFloatField
      FieldKind = fkCalculated
      FieldName = 'needqty'
      Calculated = True
    end
    object cdsMasterrate: TFloatField
      FieldName = 'rate'
    end
    object cdsMasterassemblyrate: TFloatField
      FieldName = 'assemblyrate'
    end
    object cdsMasterbid: TIntegerField
      FieldName = 'bid'
    end
    object cdsMasterbno: TIntegerField
      FieldName = 'bno'
    end
    object cdsMasterbtype: TIntegerField
      FieldName = 'btype'
    end
    object cdsMasterbtypename: TStringField
      FieldName = 'btypename'
      Size = 60
    end
    object cdsMasterunitid: TIntegerField
      FieldName = 'unitid'
    end
    object cdsMasterbillquantity: TFloatField
      FieldName = 'billquantity'
    end
    object cdsMastercustom1: TStringField
      FieldName = 'custom1'
      Size = 200
    end
    object cdsMastercustom2: TStringField
      FieldName = 'custom2'
      Size = 200
    end
    object cdsMastercustom3: TStringField
      FieldName = 'custom3'
      Size = 200
    end
    object cdsMastercustom4: TStringField
      FieldName = 'custom4'
      Size = 200
    end
    object cdsMastercustom5: TStringField
      FieldName = 'custom5'
      Size = 200
    end
    object cdsMastercustom6: TStringField
      FieldName = 'custom6'
      Size = 200
    end
    object cdsMastercustom7: TStringField
      FieldName = 'custom7'
      Size = 200
    end
    object cdsMastercustom8: TStringField
      FieldName = 'custom8'
      Size = 200
    end
    object cdsMastercustom9: TStringField
      FieldName = 'custom9'
      Size = 200
    end
    object cdsMastercustom10: TStringField
      FieldName = 'custom10'
      Size = 200
    end
    object cdsMastercustom11: TFloatField
      FieldName = 'custom11'
    end
    object cdsMastercustom12: TFloatField
      FieldName = 'custom12'
    end
    object cdsMastercustom13: TFloatField
      FieldName = 'custom13'
    end
    object cdsMastercustom14: TFloatField
      FieldName = 'custom14'
    end
    object cdsMastercustom15: TFloatField
      FieldName = 'custom15'
    end
  end
end
